﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ClientWS.CalculatorServices;

namespace ClientWS
{
    class Program
    {
        static void Main(string[] args)
        {
            using (CalculatorServiceClient proxy = new CalculatorServiceClient())
            {
                Console.WriteLine("x + y = {0}", proxy.Add(1, 2));
                Console.WriteLine("x - y = {0}", proxy.Subtract(1, 2));
                Console.Read();
            }
        }


    }
}
